package indi.qing.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author 熊卿智
 * @since 2021-12-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="QuestionInfo对象", description="")
public class QuestionInfo implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "题目id")
    @JsonSerialize(using = ToStringSerializer.class)
    @TableId(value = "question_Id", type = IdType.ID_WORKER)
    private Long questionId;

    @ApiModelProperty(value = "题目")
    private String question;

    @ApiModelProperty(value = "答案")
    private String answer;

    @ApiModelProperty(value = "答案解析")
    private String explain;


}
